<?php 
	if(!isset($step)) $step = 1; 
	$listSteps = array(
		array('number' => 1,'class' => 'step_one', 'label' => Yii::t('main','Loại chiến dịch')),
		array('number' => 2,'class' => 'step_two', 'label' => Yii::t('main','Danh sách')),
		array('number' => 3,'class' => 'step_three', 'label' => Yii::t('main','Mẫu email')),
		array('number' => 4,'class' => 'step_four', 'label' => Yii::t('main','Nội dung')),
		array('number' => 5,'class' => 'step_five', 'label' => Yii::t('main','Gửi')),
	);
?>
<div id="wizard-campaign" class="wizard">
	<?php foreach($listSteps as $s): ?>
	<span class="step <?php echo $s['class']; ?> <?php if($s['number'] == $step) echo "active" ?>"><span class="badge"><?php echo $s['number'] ?></span><strong><?php echo $s['label']; ?></strong></span>
	<?php endforeach; ?>
</div>